#pragma once
#include<stdlib.h>
#include<iostream>
using namespace std;
struct Stack
{
	int* a;
	int size;
	int capacity;
};

void StackInit(struct Stack* ps, int n = 4);

int Add(int left, int right);
double Add(double left, double right);